<template>
    <div style="background-color: brown;">
        <button @dblclick="num++">双击点我</button>{{ num }}
        
    </div>
</template>

<script>
export default {
    data(){
        return{
            num:1
        }
    }
}
</script>